window.addEventListener('resize', function(event){
// do stuff here
});
cv2.resize(src, dsize[, dst[, fx[, fy[, interpolation]]]])
img {
max-width: 100%;
max-height: 100%;
}
.cat {
height: 200px;
width: 200px;
}
object-fit: cover;
width: 100%;
height: 250px;